﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Map.KaoQin
{
    using NHibernate;
    using NHibernate.Mapping.ByCode;
    using NHibernate.Mapping.ByCode.Conformist;

    using DB_NH.DB_Model.KaoQin;

    public class map_kqCheckPoint_tmpl : EntityMapping<kqCheckPoint_tmpl>
    {
        /// <summary>
        /// 考勤检查点模板记录
        /// </summary>
        public map_kqCheckPoint_tmpl()
        {
            Property(x => x.BanCi, map =>
            {
                map.Length(40);
            });

            Property(x => x.NormalBegin, map =>
            {
                map.Length(20);
            });

            Property(x => x.NormalEnd, map =>
            {
                map.Length(20);
            });

            Property(x => x.OrderFlag, map =>
            {

            });

            Property(x => x.Title, map =>
            {
                map.Length(200);
            });

            Property(x => x.TooEarlyBegin, map =>
            {
                map.Length(20);
            });

            Property(x => x.TooEarlyEnd, map =>
            {
                map.Length(20);
            });

            Property(x => x.TooLateBegin, map =>
            {
                map.Length(20);
            });

            Property(x => x.TooLateEnd, map =>
            {
                map.Length(20);
            });
        }
    }
}
